package o;

import android.content.Context;
import com.huawei.appgallery.foundation.account.bean.UserSession;

public class dqg extends dpn<Boolean, Boolean> {
    protected /* synthetic */ Object ˋ(Context context, Object obj) throws InterruptedException {
        return ˊ(context, (Boolean) obj);
    }

    protected /* synthetic */ Object ॱ(Context context) throws InterruptedException {
        return ˏ(context);
    }

    public dqg() {
        this.ˊ = "InsResultRemedyTask";
    }

    protected Boolean ˏ(Context context) {
        if (!UserSession.getInstance().isLoginSuccessful()) {
            Logger.ˎ(this.ˊ, "unLogined!!!");
            return Boolean.valueOf(false);
        } else if (doo.ˊ(context)) {
            return Boolean.valueOf(true);
        } else {
            Logger.ˎ(this.ˊ, "no network!!!");
            return Boolean.valueOf(false);
        }
    }

    protected Boolean ˊ(Context context, Boolean bool) {
        if (bool == null || !bool.booleanValue()) {
            return Boolean.valueOf(false);
        }
        if (Logger.ˎ()) {
            Logger.ˏ("ScheduleRepeatService", this.ˊ + " execute");
        }
        new eav().ˏ();
        return Boolean.valueOf(true);
    }

    protected void ˏ(Context context, Boolean bool, Boolean bool2) {
    }
}
